package com.cssy.yd.logic.service;

import com.byd.acegiext.domain.User;
import com.cssy.base.service.IBaseService;
import com.cssy.yd.logic.entity.LogicPriceDO;
import com.plat.exception.SyBaseException;

public interface ILogicPriceService extends IBaseService<LogicPriceDO> {

	/**
	 * 输入物料运费计算新的平均单价
	 * @param t 包含有物料信息及所储位置信息的对象
	 * @param freight 运费
	 * @param user 当前登录用户信息
	 * @return
	 * @throws SyBaseException
	 */
	public Integer updateAveragePrice(LogicPriceDO t, double freight, User user)
			throws SyBaseException;

}
